<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <script src="./node_modules/vue/dist/vue.js"></script>
</head>
<body>
    <div id="app">
        我叫{{name}}, 我今年{{age}}岁

        <input type="text">
    </div>

    <script>
        //2. 创建vue实例
        var vm = new Vue({
            el: "#app",
            data: {
                name: "孟浩",
                age: 18
            }
        })
    </script>
</body>
</html>